package com.io.exception;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * The class/interface
 *
 * @author guodd
 * @version 1.0 use jdk 1.8
 */
@Getter
@NoArgsConstructor
@AllArgsConstructor
public enum CodeEnum {
    SUCCESS_CODE(200, "操作成功！"),
    ERROR_CODE(500, "系统异常！");
    /**
     * 属性描述：code
     */
    private Integer code;

    /**
     * 属性描述：message
     */
    private String message;
}
